﻿using System;
using System.Collections.Generic;

using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace WebApplication1
{
    public partial class _default : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
           /// if (Request.Cookies["UserPhone"] != null)
            //{
                string httpUrl =
                      "https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx8579b2dae40753d2&redirect_uri=http://www.cmuam.site/Main.aspx&response_type=code&scope=snsapi_base&state=";
                Response.Redirect(httpUrl);
            //}
            //else
            //  Response.Redirect("http://www.cmuam.site/Main.aspx");
        }
    }
}